﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class batcar:car,IFly
    {
        public batcar(string brand):base(brand) 
        {
            this.Brand = brand;
        }

        public void fly()
        {
            Console.WriteLine("我会飞");
        }

        public void science() 
        {
            Console.WriteLine("高科技的车");
        }
    }
}
